<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="keywords" content=""><!--SEO关键字-->
<meta name="description" content=""><!--SEO描述-->
<link rel ="" href=""><!--选项卡图标-->
<title></title>
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/jquery-1.7.2.min.js"></script>
<script src="/js/script.js"></script>
<script src="/js/responsiveslides.min.js"></script>
<!--[if ie 6]>
<link rel="stylesheet" href="css/ie6.css">
<script type="text/javascript" src="js/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('.png');/*在需要png透明的元素里面加上.png样式即可（class="png"）*/
</script>
<![endif]-->
</head>

<body class="bg_img">
	<div class="header h100 w960 bc"><?php head();?></div>
	<div class="w960 bc">
		<div class="register_wraps w960 common_bg">
			<div class="cart_from_wrap oh">
				<p class="step f14 tc dib fl"><span class="f20 fb">1</span>购物车结算</p>
				<p class="step f14 tc dib fl"><span class="f20 fb">2</span>填写订单信息</p>
				<p class="step f14 tc dib fl" id="step_hover"><span class="f20 fb">3</span>支付/确定订单</p>
			</div>
			<div class="cart_from_wrap oh mt20">
				<div class="" style="padding:20px;background-color:#FFF8EE!important;border:solid 1px #FFE8C4;">
					<p class="f20 c555 fb">订单： <span><?php echo $info['orders_id'];?></span>&nbsp;&nbsp;&nbsp;金额： <span class="chot">¥ <?php echo $total;?></span></p>
					<p class="f14 c555"><?php echo $addinfo;?></p>
				</div>
			</div>
			<div class="cart_from_wrap oh mt20">
				<table class="goods_cart_from">
					<tr>
						<th>商品名称</th>
						<th>价格</th>
						<th>数量</th>
						<th>小计</th>
					</tr>
					<?php
					$pp = $info['freight'];
					foreach($info['product'] as $val){
						$price = $val['num']*$val['price'];
					?>
					<tr>
						<td><p class="goods_choice"><a href="#"><img src="/<?php echo $val['path1']?>" width="70" height="80" alt="" class="fl"></a><a href="/goods/<?php echo $val['p_id']?>" class="fl no_url c999"><?php echo $val['name']?></a></p></td>
						<td>¥<span class="good_price"><?php echo $val['price']?></span></td>
						<td><?php echo $val['num'];?></td>
						<td>¥<span class="total"><?php echo $price;?></span></td>
					</tr>
					<?php $pp+=$price;} ?>
					<tr>
						<td colspan="5" class="settle">
							<p class="fr fb f16 c777">商品金额合计（运费￥<?php echo $info['freight'];?>）：<span class="chot">¥</span><span class="chot cart_money"><?php echo $pp;?></span></p><br><br><br>
							<p><a class="a_button fr fb" href="/pay/<?php echo $pram[0];?>" target="_blank">立即付款</a></p>
						</td>
					</tr>
				</table>
			</div>
		</div><!-- register_wraps end -->
		<div class="register_shadow w960 png"></div>
	</div>

	<a href="#"><div class="guarantee w960 bc mt20 png"></div></a><!-- guarantee end -->

	

	<?php footer();?>
</body>
</html>